package com.lk.service.Impl;

import com.lk.entity.Record;
import com.lk.mapper.RecordMapper;
import com.lk.service.RecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class RecordServiceImpl implements RecordService {
    @Resource
    private RecordMapper recordMapper;

    @Override
    public List<Record> findAll() {
        return recordMapper.findAll();
    }

    @Override
    public int deleteById(String id) {
       return recordMapper.deleteById(id);
    }

}
